
cc.Class({
    extends: cc.Component,

    properties: {
        spArrow: cc.Sprite, // 箭
    },

    // LIFE-CYCLE CALLBACKS:

    // onLoad () {},

    start () {

    },

    // update (dt) {},

    fire(direction, power){
        this.node.rotation = direction;
        this.spArrow.node.x = -10;
    },
});
